package gui.actions;

import controller.Controller;

import javax.swing.*;
import java.awt.event.ActionEvent;

public class DisconnectAction extends AbstractAction{
	private static final long serialVersionUID = 1L;
	
	public DisconnectAction(){
		super();
		putValue(NAME, "Disconnect");
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		Controller.getInstance().disconnect();
	}

}
